package ch9_9_4;
public class test{
	public static void main(String[] args){
		MyStack stack=new MyStack();
		stack.push(1);
		stack.push(2);
		while(!stack.isEmpty())
			System.out.println(stack.pop());
	}
}